package zroute

type Result struct {
	Code  int         `json:"code"`
	Msg   string      `json:"msg"`
	Count int         `json:"count,omitempty"`
	Data  interface{} `json:"data,omitempty"`
}

func (r *Result) OK() *Result {
	r.Code = 0
	r.Msg = "OK"
	return r
}
